Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set compile_time when using chef_gem resource #196

Merged
merged 2 commits into from Apr 17, 2015

Conversation

miketheman
Copy link
Contributor

In Chef 12, the compile_time behavior flag was added, leading to WARN
messages showing up in the Chef Client execution.

Since the current method to invoke a handler is via a recipe, we need to
install the gem during compile time to allow loading the handler to
caputer execution items.

See https://www.chef.io/blog/2015/02/17/chef-12-1-0-chef_gem-resource-warnings/
for more details on the new flag.

Fixes #189

In Chef 12, the compile_time behavior flag was added, leading to WARN
messages showing up in the Chef Client execution.

Since the current method to invoke a handler is via a recipe, we need to
install the gem during compile time to allow loading the handler to
caputer execution items.

See https://www.chef.io/blog/2015/02/17/chef-12-1-0-chef_gem-resource-warnings/
for more details on the new flag.

Fixes #189
@miketheman miketheman added this to the Next minor milestone Apr 9, 2015
@miketheman miketheman self-assigned this Apr 9, 2015
miketheman added a commit that referenced this pull request Apr 17, 2015
Set compile_time when using chef_gem resource
@miketheman miketheman merged commit f0cb18e into master Apr 17, 2015
@miketheman miketheman deleted the miketheman/compile_time branch April 20, 2015 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chef 12 throws warnings for compile_time resources
1 participant